package com.wdc.entity.po;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
/**
 * @author: WDC
 * @description:
 * @date:2024/09/19
 */
public class UserContactApply implements Serializable {
	/**
	 * 自增Id
	 */
	private Integer applyId;

	/**
	 * 申请人id
	 */
	private String applyUserId;

	/**
	 * 接收人ID
	 */
	private String receiveUserId;

	/**
	 * 联系人类型 0 好友 1：群组
	 */
	private Integer contactType;

	/**
	 * 联系人群组ID
	 */
	private String contactId;

	/**
	 * 最后申请时间
	 */
	private Long lastApplyTime;

	/**
	 * 状态 0 待处理 1：已同意 2：已拒绝 3：已拉黑
	 */
	@JsonIgnore
	private Integer status;

	/**
	 * 申请信息
	 */
	private String applyInfo;

	public void setApplyId(Integer applyId) {
		this.applyId = applyId;
	}

	public Integer getApplyId() {
		return this.applyId;
	}

	public void setApplyUserId(String applyUserId) {
		this.applyUserId = applyUserId;
	}

	public String getApplyUserId() {
		return this.applyUserId;
	}

	public void setReceiveUserId(String receiveUserId) {
		this.receiveUserId = receiveUserId;
	}

	public String getReceiveUserId() {
		return this.receiveUserId;
	}

	public void setContactType(Integer contactType) {
		this.contactType = contactType;
	}

	public Integer getContactType() {
		return this.contactType;
	}

	public void setContactId(String contactId) {
		this.contactId = contactId;
	}

	public String getContactId() {
		return this.contactId;
	}

	public void setLastApplyTime(Long lastApplyTime) {
		this.lastApplyTime = lastApplyTime;
	}

	public Long getLastApplyTime() {
		return this.lastApplyTime;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setApplyInfo(String applyInfo) {
		this.applyInfo = applyInfo;
	}

	public String getApplyInfo() {
		return this.applyInfo;
	}

	@Override
	public String toString() { 
		return "自增Id:" + (applyId == null ? "空" : applyId) + ",申请人id:" + (applyUserId == null ? "空" : applyUserId) + ",接收人ID:" + (receiveUserId == null ? "空" : receiveUserId) + ",联系人类型 0 好友 1：群组:" + (contactType == null ? "空" : contactType) + ",联系人群组ID:" + (contactId == null ? "空" : contactId) + ",最后申请时间:" + (lastApplyTime == null ? "空" : lastApplyTime) + ",状态 0 待处理 1：已同意 2：已拒绝 3：已拉黑:" + (status == null ? "空" : status) + ",申请信息:" + (applyInfo == null ? "空" : applyInfo);
	}
}